package com.charge;

public class LazySingleton {  
    private static LazySingleton m_instance = null;  
      
    private LazySingleton() {  
    }  
      
    public static LazySingleton getInstance() {  
        if (m_instance == null) {  
            synchronized (LazySingleton.class) {  
                if (m_instance == null) {  
                    m_instance = new LazySingleton();  
                }  
            }  
        }  
        return m_instance;  
    }  
    }  
